ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV Mobile 2024 feature!
Help / WLanguage / WLanguage functions / Mobile specific functions / 
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Adds a new quick action to the application. This quick action will appear in the context menu of the application icon.
Example
action is QuickAction
action.Identifier = "ACTION_ID__SEND_MESSAGE"
action.Caption = "Send a message"
action.Procedure = ProcSendMessage // ProcSendMessage is a global procedure
IF action.Add() THEN
ToastDisplay("Action added.")
END
Syntax
<Result> = <Action>.Add()
<Result>: Boolean
  • True if the quick action was added,
  • False otherwise. ErrorInfo returns the details of the error.
<Action>: QuickAction variable
QuickAction variable describing the action to be added.
Remarks
  • If a quick action with the same identifier has already been added to the application, it will be updated with the data contained in the QuickAction variable passed as parameter.
  • To list quick actions already added to the application, use QuickActionList.
  • To remove a quick action defined for the application, use <QuickAction variable>.Remove.
Business / UI classification: UI Code
Component: wd290android.aar
Minimum version required
  • Version 2024
Comments
Click [Add] to post a comment

Last update: 01/17/2024

Send a report | Local help